﻿var full_card_count = 54;
var full_card_data=
[
	0x01,0x02,0x03,0x13,0x23,0x33,0x04,0x14,0x24,0x09,0x19,0x0B,0x1B,	//方块 A - K
	0x22,0x12,0x28,0x07,0x08,0x27,0x17,0x18,0x0A,0x1A,0x0C,0x2B,0x1D,	//梅花 A - K
	0x21,0x11,0x05,0x15,0x25,0x26,0x16,0x06,0x29,0x2A,0x1C,0x2C,0x2D,	//红桃 A - K
	0x31,0x32,0x34,0x0D,0x35,0x36,0x37,0x38,0x39,0x3A,0x3B,0x3C,0x3D,	//黑桃 A - K
	0x4E,0x4F
];

function get_random_card() {
    return full_card_data[Math.round(Math.random()*54)];
}